﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Grizzy_X
{
    public partial class PointStyleForm : Form
    {
        public PointStyleForm()
        {
            InitializeComponent();
        }

        private void pictureBox1_DoubleClick(object sender, EventArgs e)
        {
            LegendForm.CurrentStyle = CPointLegend.PointStyle.circle;
            this.Close();
        }

        private void pictureBox2_DoubleClick(object sender, EventArgs e)
        {
            LegendForm.CurrentStyle = CPointLegend.PointStyle.filled_circle;
            this.Close();
        }

        private void pictureBox3_DoubleClick(object sender, EventArgs e)
        {
            LegendForm.CurrentStyle = CPointLegend.PointStyle.triangle;
            this.Close();
        }

        private void pictureBox4_DoubleClick(object sender, EventArgs e)
        {
            LegendForm.CurrentStyle = CPointLegend.PointStyle.filled_triangle;
            this.Close();
        }

        private void pictureBox5_DoubleClick(object sender, EventArgs e)
        {
            LegendForm.CurrentStyle = CPointLegend.PointStyle.rectangle;
            this.Close();
        }

        private void pictureBox6_DoubleClick(object sender, EventArgs e)
        {
            LegendForm.CurrentStyle = CPointLegend.PointStyle.filled_rectangle;
            this.Close();
        }
    }
}
